package com.shop.dingdongshoppingapi.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.dingdongshoppingapi.entity.SearchInfo;
import com.shop.dingdongshoppingapi.vo.R;
import org.apache.ibatis.annotations.Select;

public interface SearchInfoDao extends BaseMapper<SearchInfo> {
    @Select("select * from t_searchinfo where uid=#{token} order by ctime desc limit 0,1")
    R selectLast(int token);
}
